package com.fenghongzhang.kuaishou.utils;

import java.util.List;

/**
 * 后端返回的bean的封装
 * @author fenghongzhang
 * @date 2021-05-16
 *
 */
public class ResponseBean<T> {

    /**
     * code : 200
     * message : 查找成功
     * result : [{"name":"李明","type":0},{"name":"王中明","type":0}]
     */

    private String code;
    private String message;
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
